def multi(*a):
    result = 1
    for i in a:
        result *= i
    return result

print(multi(1, 2, 3, 4))


